using DBRestriker.Data;

namespace DBRestriker.Forms
{
	class SearchModeItem
	{
		private readonly SearchMode _mode;
		private readonly string _name;

		public SearchModeItem(SearchMode mode, string name)
		{
			_mode = mode;
			_name = name;
		}

		public string Name
		{
			get { return _name; }
		}

		internal SearchMode SearchMode
		{
			get { return _mode; }
		}

		public override string ToString()
		{
			return _name;
		}
	}
}
